package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 奇闻轶事对象 bai_story
 * 
 * @author saruri
 * @date 2024-07-21
 */
public class BaiStory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    /** 是否开启 */
    @Excel(name = "是否开启")
    private Integer isEnable;

    /** 名称 */
    @Excel(name = "名称")
    private String title;

    /** 封面 */
    @Excel(name = "封面")
    private String cover;

    /** 正文 */
    @Excel(name = "正文")
    private String content;

    /** 简介 */
    @Excel(name = "简介")
    private String info;

    /** 类型 0官方 1民间 */
    @Excel(name = "类型 0官方 1民间")
    private Integer cat;

    public String getCopyfrom() {
        return copyfrom;
    }

    public void setCopyfrom(String copyfrom) {
        this.copyfrom = copyfrom;
    }

    public String getKeyword() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    private String type;
    /** 来源 */
    @Excel(name = "来源")
    private String copyfrom;

    /** 关键词 */
    @Excel(name = "关键词")
    private String keyword;

    public Integer getFocus() {
        return focus;
    }

    public void setFocus(Integer focus) {
        this.focus = focus;
    }

    public Integer getIndex() {
        return index;
    }

    public void setIndex(Integer index) {
        this.index = index;
    }

    public Integer getSug() {
        return sug;
    }

    public void setSug(Integer sug) {
        this.sug = sug;
    }

    /** 焦点图 */
    @Excel(name = "焦点图")
    private Integer focus;

    /** 首页 */
    @Excel(name = "首页")
    private Integer index;

    /** 推荐 */
    @Excel(name = "推荐")
    private Integer sug;


    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }
    public void setIsEnable(Integer isEnable) 
    {
        this.isEnable = isEnable;
    }

    public Integer getIsEnable() 
    {
        return isEnable;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setCover(String cover) 
    {
        this.cover = cover;
    }

    public String getCover() 
    {
        return cover;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setInfo(String info) 
    {
        this.info = info;
    }

    public String getInfo() 
    {
        return info;
    }
    public void setCat(Integer cat) 
    {
        this.cat = cat;
    }

    public Integer getCat() 
    {
        return cat;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("sort", getSort())
            .append("createTime", getCreateTime())
            .append("isEnable", getIsEnable())
            .append("title", getTitle())
            .append("cover", getCover())
            .append("content", getContent())
            .append("info", getInfo())
            .append("cat", getCat())
            .toString();
    }
}
